package com.liyou.auth.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.liyou.model.system.SysUser;

import java.util.Map;

/**
* @author asus
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2023-06-07 12:42:46
*/
public interface SysUserService extends IService<SysUser> {
    //更新状态
    void updateStatus(Long id, Integer status);

    //根据用户名进行查询
    SysUser getUserByUserName(String username);

    Map<String, Object> getCurrentUser();
}
